﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master"
    CodeBehind="myRecipe.aspx.vb" Inherits="kitchenCompetition.myRecipe" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table width="100%">
        <tr>
            <td>
                <h2>
                    Your Recipe</h2>
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <tr>
                        <td>
                            <asp:GridView ID="gvRecipe" runat="server" DataKeyNames="Id" AutoGenerateColumns="False">
                                <Columns>
                                    <asp:BoundField DataField="Name" HeaderText="Name" />
                                    <asp:BoundField DataField="RecipeName" HeaderText="Recipe Name" />
                                    <asp:BoundField DataField="Recipe" HeaderText="Recipe" />
                                    <asp:BoundField DataField="Price" HeaderText="Price" />
                                    <asp:BoundField DataField="Duration" HeaderText="Duration" />
                                    <asp:TemplateField HeaderText="Picture">
                                        <ItemTemplate>
                                            <asp:Image ID="Image1" runat="server" Width="100px" Height="100px" ImageUrl='<%# Eval("Pic") %>' />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <AlternatingRowStyle BackColor="#FFCC00" />
                                <HeaderStyle BackColor="#FF9900" HorizontalAlign="Left" />
                                <RowStyle VerticalAlign="Top" HorizontalAlign="Left" />
                            </asp:GridView>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
